<!doctype html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../static/result.css">
</head>
<body>
<div class="showArea">
<p class="result">
    <span class="info">找到约&nbsp;
        <span class="searchNum">{{ total_nums }}</span>
        条结果(用时
        <span class="searchTime">{{ last_time }}</span>)秒
    </span>
</p>
<div class="container">
<div id="suggest_box">
<p class="intro_tile">相关推荐</p>
    {% for suggest_title in suggest_titles %}
    <p> {{suggest_title}}</p>
    {% endfor %}
</div>
    </div>

<div class="box">
{% for hits in all_hits %}
    <div class="novel">
     <div class="novelHead">
        <a href="{{ hits.book_href }}" target="_blank" id="title" onclick="clickurl(this)">
            {% autoescape off %}{{ hits.book_name }}{% endautoescape %}</a>
        </a>
    </div>
        <form action="/snapshot/" method="POST" >
            <input type="hidden" name="book_name" value="{{ hits.book_name }}">
            <input type="hidden" name="author_name" value={{ hits.author_name }}>
            <input type="hidden" name="novel_status" value={{ hits.novel_status }}>
            <input type="hidden" name="novel_size" value={{ hits.novel_size }}>
            <input type="hidden" name="novel_diversity" value={{ hits.novel_diversity }}>
            <input type="hidden" name="novel_authority" value={{ hits.novel_authority }}>
            <input type="hidden" name="novel_format" value={{ hits.novel_format }}>
            <input type="hidden" name="publish_time" value={{ hits.publish_time }}>
            <input type="hidden" name="download_address" value={{ hits.download_address }}>
            <input type="hidden" name="content_introduction" value="{{ hits.content_introduction }}">
            <input type="submit" value="查看快照" >
        </form>
    <div class="noveldetail">
        <span class="label">小说作者：</span>
        <span class="name">{{ hits.author_name }}</span>
        <span class="label">得分：</span>
        <span class="score">{{ hits.score }}</span>
        <span class="label">小说状态：</span>
        <span class="status">{{ hits.novel_status }}</span>
        <span class="label">小说大小：</span>
        <span class="size">{{ hits.novel_size }}</span>
        <span class="label">小说授权：</span>
        <span class="authority">{{ hits.novel_authority }}</span>
        <span class="label">小说格式：</span>
        <span class="format">{{ hits.novel_format }}</span>
        <span class="label">发布时间：</span>
        <span class="time">{{ hits.publish_time }}</span>
        <a class="label" href="{{ hits.download_address }}">点击此处进行下载</a>
    </div>
    <div class="novelbody">
        {% autoescape off %}{{ hits.content_introduction }}{% endautoescape %}
    </div>
    </div>
{% endfor %}
</div>
</div>
</body>
</html>